<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title></title>
	<link rel="stylesheet" href="">
</head>
<body>
	<input type="button" value="ajax提交">
	<script>
		
		
	var input = document.querySelector('input');
	input.onclick = function() {
				var xhr =new XMLHttpRequest();
		xhr.open('get','http://localhost:3000/cache');
		xhr.send();
		xhr.onload = function(){
			alert(xhr.responseText);
		}
	}

		

	</script>
	
	
</body>
</html>